.class public Lcom/wmr/order/PingActivity;
.super Landroid/app/Activity;
.source "PingActivity.java"


# static fields
.field public static PingAC:Lcom/wmr/order/PingActivity;


# instance fields
.field private Ratbar:[Landroid/widget/RatingBar;

.field private areaid:Ljava/lang/String;

.field private closebtn:Landroid/widget/LinearLayout;

.field private edit:[Landroid/widget/EditText;

.field private gopay:Ljava/lang/String;

.field public h:Landroid/os/Handler;

.field private logoinlay:Landroid/widget/RelativeLayout;

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field private orderParticulars:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/OrderParticular;",
            ">;"
        }
    .end annotation
.end field

.field private orderdetid:Ljava/lang/String;

.field orderdetview:Landroid/view/View;

.field private orderid:Ljava/lang/String;

.field private orderliststr:Ljava/lang/String;

.field private orderstatus:Ljava/lang/String;

.field orderstatusview:Landroid/view/View;

.field private pingshowlist:Landroid/widget/LinearLayout;

.field private pointcontent:Ljava/lang/String;

.field private pointshu:Ljava/lang/String;

.field private scrollView1:Landroid/widget/ScrollView;

.field shoplayout:Landroid/widget/LinearLayout;

.field private shopmyphone:Ljava/lang/String;

.field private tv_sure_recive:Landroid/widget/TextView;

.field waitLoginView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 55
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 56
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->areaid:Ljava/lang/String;

    .line 57
    iput-object v1, p0, Lcom/wmr/order/PingActivity;->m:Lmyapp/MyApp;

    .line 60
    iput-object v1, p0, Lcom/wmr/order/PingActivity;->h:Landroid/os/Handler;

    .line 61
    iput-object v1, p0, Lcom/wmr/order/PingActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 62
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->orderliststr:Ljava/lang/String;

    .line 65
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->orderid:Ljava/lang/String;

    .line 66
    const-string v0, "0"

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->orderstatus:Ljava/lang/String;

    .line 67
    const-string v0, "0"

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->gopay:Ljava/lang/String;

    .line 68
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->shopmyphone:Ljava/lang/String;

    .line 69
    const-string v0, "0"

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->orderdetid:Ljava/lang/String;

    .line 70
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->pointshu:Ljava/lang/String;

    .line 71
    const-string v0, ""

    iput-object v0, p0, Lcom/wmr/order/PingActivity;->pointcontent:Ljava/lang/String;

    .line 55
    return-void
.end method

.method static synthetic access$0(Lcom/wmr/order/PingActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 79
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$10(Lcom/wmr/order/PingActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->pointcontent:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/wmr/order/PingActivity;[Landroid/widget/RatingBar;)V
    .locals 0

    .prologue
    .line 73
    iput-object p1, p0, Lcom/wmr/order/PingActivity;->Ratbar:[Landroid/widget/RatingBar;

    return-void
.end method

.method static synthetic access$3(Lcom/wmr/order/PingActivity;[Landroid/widget/EditText;)V
    .locals 0

    .prologue
    .line 74
    iput-object p1, p0, Lcom/wmr/order/PingActivity;->edit:[Landroid/widget/EditText;

    return-void
.end method

.method static synthetic access$4(Lcom/wmr/order/PingActivity;)[Landroid/widget/RatingBar;
    .locals 1

    .prologue
    .line 73
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->Ratbar:[Landroid/widget/RatingBar;

    return-object v0
.end method

.method static synthetic access$5(Lcom/wmr/order/PingActivity;)[Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 74
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->edit:[Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$6(Lcom/wmr/order/PingActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->pingshowlist:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$7(Lcom/wmr/order/PingActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->tv_sure_recive:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/wmr/order/PingActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 65
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->orderid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/wmr/order/PingActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 71
    iput-object p1, p0, Lcom/wmr/order/PingActivity;->pointcontent:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public getpinglist()Z
    .locals 1

    .prologue
    .line 241
    new-instance v0, Lcom/wmr/order/PingActivity$5;

    invoke-direct {v0, p0}, Lcom/wmr/order/PingActivity$5;-><init>(Lcom/wmr/order/PingActivity;)V

    .line 307
    invoke-virtual {v0}, Lcom/wmr/order/PingActivity$5;->start()V

    .line 308
    const/4 v0, 0x0

    return v0
.end method

.method public loadView()V
    .locals 3

    .prologue
    .line 214
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;

    const-string v1, "\u83b7\u53d6\u8ba2\u5355\u6570\u636e"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 215
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->pingshowlist:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 216
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->getpinglist()Z

    .line 218
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 390
    const-string v0, "fdsafdsafdsa"

    const-string v1, "xxxxx"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 391
    const-string v0, "loginback"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "onActivityResultrequestCode"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 392
    const-string v2, "\n resultCode="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 391
    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 393
    const/16 v0, 0x64

    if-ne p1, v0, :cond_0

    .line 394
    const/4 v0, 0x1

    if-ne p2, v0, :cond_0

    .line 396
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->logoinlay:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 397
    iget-object v0, p0, Lcom/wmr/order/PingActivity;->scrollView1:Landroid/widget/ScrollView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 398
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->loadView()V

    .line 401
    :cond_0
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 402
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 86
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 87
    const v4, 0x7f030032

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->setContentView(I)V

    .line 88
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v4

    check-cast v4, Lmyapp/MyApp;

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->m:Lmyapp/MyApp;

    .line 92
    iget-object v4, p0, Lcom/wmr/order/PingActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v4}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 93
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 94
    iput-object p0, p0, Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;

    .line 95
    sput-object p0, Lcom/wmr/order/PingActivity;->PingAC:Lcom/wmr/order/PingActivity;

    .line 97
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    .line 98
    .local v2, "intent":Landroid/content/Intent;
    const-string v4, "orderid"

    invoke-virtual {v2, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->orderid:Ljava/lang/String;

    .line 99
    const/4 v4, 0x0

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->waitLoginView:Landroid/view/View;

    .line 100
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;

    .line 103
    const/high16 v4, 0x7f0c0000

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/LinearLayout;

    .line 104
    .local v3, "top":Landroid/widget/LinearLayout;
    iget-object v4, p0, Lcom/wmr/order/PingActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v4}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v4

    const-string v5, "1"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 105
    const v4, 0x7f070026

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 108
    :cond_0
    new-instance v4, Lcom/wmr/order/PingActivity$1;

    invoke-direct {v4, p0}, Lcom/wmr/order/PingActivity$1;-><init>(Lcom/wmr/order/PingActivity;)V

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->h:Landroid/os/Handler;

    .line 173
    const v4, 0x7f0c00e4

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RelativeLayout;

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->logoinlay:Landroid/widget/RelativeLayout;

    .line 174
    const v4, 0x7f0c004b

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ScrollView;

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->scrollView1:Landroid/widget/ScrollView;

    .line 176
    const v4, 0x7f0c0001

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 177
    .local v1, "closebtn":Landroid/widget/LinearLayout;
    new-instance v4, Lcom/wmr/order/PingActivity$2;

    invoke-direct {v4, p0}, Lcom/wmr/order/PingActivity$2;-><init>(Lcom/wmr/order/PingActivity;)V

    invoke-virtual {v1, v4}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 186
    const v4, 0x7f0c0121

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->pingshowlist:Landroid/widget/LinearLayout;

    .line 187
    const v4, 0x7f0c0110

    invoke-virtual {p0, v4}, Lcom/wmr/order/PingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iput-object v4, p0, Lcom/wmr/order/PingActivity;->tv_sure_recive:Landroid/widget/TextView;

    .line 188
    iget-object v4, p0, Lcom/wmr/order/PingActivity;->tv_sure_recive:Landroid/widget/TextView;

    new-instance v5, Lcom/wmr/order/PingActivity$3;

    invoke-direct {v5, p0}, Lcom/wmr/order/PingActivity$3;-><init>(Lcom/wmr/order/PingActivity;)V

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 203
    iget-object v4, p0, Lcom/wmr/order/PingActivity;->tv_sure_recive:Landroid/widget/TextView;

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setVisibility(I)V

    .line 210
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->loadView()V

    .line 212
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v2, 0x0

    .line 407
    const/4 v1, 0x4

    if-ne p1, v1, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    if-nez v1, :cond_0

    .line 408
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 409
    .local v0, "intent":Landroid/content/Intent;
    invoke-virtual {p0, v2, v0}, Lcom/wmr/order/PingActivity;->setResult(ILandroid/content/Intent;)V

    .line 410
    invoke-virtual {p0}, Lcom/wmr/order/PingActivity;->finish()V

    .line 414
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_0
    return v2
.end method

.method public onStart()V
    .locals 0

    .prologue
    .line 384
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 385
    return-void
.end method

.method public pingorder()Z
    .locals 1

    .prologue
    .line 314
    new-instance v0, Lcom/wmr/order/PingActivity$6;

    invoke-direct {v0, p0}, Lcom/wmr/order/PingActivity$6;-><init>(Lcom/wmr/order/PingActivity;)V

    .line 378
    invoke-virtual {v0}, Lcom/wmr/order/PingActivity$6;->start()V

    .line 379
    const/4 v0, 0x0

    return v0
.end method

.method public waitlogin()V
    .locals 4

    .prologue
    .line 220
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->waitLoginView:Landroid/view/View;

    if-nez v1, :cond_0

    .line 221
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;

    const v2, 0x7f03009e

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/wmr/order/PingActivity;->waitLoginView:Landroid/view/View;

    .line 222
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->waitLoginView:Landroid/view/View;

    const v2, 0x7f0c0301

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 223
    .local v0, "waitlogin":Landroid/widget/TextView;
    new-instance v1, Lcom/wmr/order/PingActivity$4;

    invoke-direct {v1, p0}, Lcom/wmr/order/PingActivity$4;-><init>(Lcom/wmr/order/PingActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 233
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->logoinlay:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/wmr/order/PingActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 235
    .end local v0    # "waitlogin":Landroid/widget/TextView;
    :cond_0
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->logoinlay:Landroid/widget/RelativeLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 236
    iget-object v1, p0, Lcom/wmr/order/PingActivity;->scrollView1:Landroid/widget/ScrollView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 238
    return-void
.end method
